package com.lovefreedom.psi.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Sale {
	private int id;
	private String type;
	private String code;
	private String remark;
	private Date date;
	private float receivable;
	private float receive;	
	private Customer customer;	
	private Set<SaleGoods> saleGoods = new HashSet<SaleGoods>();
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public float getReceivable() {
		return receivable;
	}
	public void setReceivable(float receivable) {
		this.receivable = receivable;
	}
	public float getReceive() {
		return receive;
	}
	public void setReceive(float receive) {
		this.receive = receive;
	}
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	public Set<SaleGoods> getSaleGoods() {
		return saleGoods;
	}
	public void setSaleGoods(Set<SaleGoods> saleGoods) {
		this.saleGoods = saleGoods;
	}	
}
